Changed pop up for view details or add to list to dialog