close finish dialog and activity from child.