Changed security frame to a dialog box type so that we can't click on anything else in STAT when this dialog pops up. Also makes it easier for the program to know when the user is done with the dialog box so it can retrieve their choice and password.