pop view controller on done