Put isLoading back into dialog controller