Fixes #379 - Add support for closeOnEscapeKey and backdrop