Another try to close the loading dialog before