Change to provide loading/loaded events when using a Modal with remote

Added some events to the modal to make it possible to hook into the loading process when using remote data