made popup dialog to view notes