CMS-1731 Shelve current key bindings when a opening modal dialog and unshelve when closing it