Added closeEvent to snapshot history dialog to ensure browser widget
gets cleaned up correctly