add compatibility also on the dialog