Small fixes for image select dialog