@Override
 protected void onUnload() {
   layout.onDetach();
 }
 @Override
 protected void onDetach() {
   super.onDetach();
   layout.onDetach();
 }