Fixes #23 notifications do not close on IE11 (and FF)