added jpeg quality dialog