Re-implemented View as a Dialog subclass