add RightpaneInterface on controller to handle onDetach event