When modal is active, pressing any key hides it (fixes #19)