Missing event catch for hiding loading and reloading data in modal