prevent modal from coming back after entered mailbox