Add base for dialogs ui