Fix display of dialog in RO appointment editor