adds overwrite to save_figure widget