Make sure image save dialog happens in EDT.