Changed Plans viewPlan dialog to a dialog fragment