dispatching the save view action, minor formatting issues