rhbz1008253 - ESC only close dialog if autoHide and modal are true