Update Login to Dara and Snap GUI

Add code to close popup window if exists