Added two kinds of opened dialog checking.  One for functionally open (checks to see if the dialog reports open) and another for visually opened (dialog not visually appearing).  The later has been implemented with a timer.
Reduced time limit to 1 second