Media and Modalities Allocation in Intelligent Multimedia User Interfaces