Changed Plans editPlan dialog to a dialog fragment