Varun/close button

'gon' is not defined.