Moved dialog buttons into xml