Adding loading bar for modal viewer in ws dashboard and fix css.