fixed load image dialog and test