make OS X dialog closeable