add blocking of ui whilst saving; note needed to add $ as arg to make this work, suspect this was the correct thing to be doing anyway