fixed double-modal bug on login/signup