make alert closeable