notify delegate when done button is pressed