backend gtk and gtk3: destroy figure save dialog after use; closes #2073