Rewritten UsageFragment, and moved dialog logix to own class