Close a Pop Up Menu

I have a small script (so far) that I want to use to manipulate ScanSnap Manager. I need to stop the routine when a pop up menu opens and return the text of the item when it is selected .

tell application "System Events"
	
	application "ScanSnap Manager" activate --Bring ScanSnap to the Front
	
	click menu item "Settings..." of menu 1 of menu bar item "ScanSnap Manager" of menu bar 1 of application process "ScanSnap Manager" --Opens the Settings Box for ScanSnap
	
	click pop up button 1 of group 2 of window "ScanSnap Manager - Settings" of application process "ScanSnap Manager" --Opens the Profile Manager
--It is here I would like to halt the routine and proceed when I clicked on an option	
end tell

Model: iMac 27
AppleScript: 2.9
Browser: Safari 603.1.30
Operating System: Mac OS X (10.10)