made confirmation dialog resizable. added delete_figure_button