Parent for dialogs is main.