fixed modal hide action issue