Implement --dialog option to expose end-session-dialog

Note: End session dialog.. doesn't actually end it yet.