closing modal window (thanks to @yakky)