double click closes image dialog