Adding selection actions to dialog