Add loading gif, confirm and error message