Fix for fragment, and fragment dialog model inheritance. Added getter for component in base Controller.