now menu will close when user press esc key