Dialog windows open conditionally

What do you think about changing `uniqueStamp` to not use a hyphen so that we can use it? That method is trying to serve the exact same purpose and it would be a shame to write two almost-identical versions of the same thing if it's not required.