[mascara] Add accept/reject signals to the dialog root.

The dialog implementer can use these signals to get rid of a dialog.
[mascara] Check for dialog's existance.