the $("- sharploginmodal") .on ("hidden.bs.modal", function () {}) in bootstrap is not triggered when the mode box is closed, and
finds that the closed click event has been washed out by other js. How should this be handled by triggering "hidden.bs.modal"