added switchable title to modal