Added a "closeable" option to the directive