remove the input:focus hack by adding an onShowing function to be overridden by any user