Fixes bug in modal hide, dimmer not hiding