Loads remote data or template when a custom event is fired