shows a flash if an error occurred when saving report