Alert before quit, and back to home