adds loading to the ajax views
styles modal
solves merging conflicts