make it closeable for ajax errors