Block the reloading and closing