Fix problem with content-type popup

Thanks @tobibeer