finish dialog and update activity for testing (need to update to lib to
finalise)