- added an event on modals triggered when remote content has finished loading