wrong way of handling components.. must be a tab (modal in modal dialogs dont work!)