added dialog to activity communication so stuff gets passed along