changed all dialogues to yad and took care of exiting when cancel is clicked