adds done click action