reverted change to dialog