Add base for dialog