onBeforeShow/hide is used for transition critical functions, should be lightweight and not used for main operations such as `SendFeedback.init`.

might init/uninit properly serve your need?