fixed #23 by adding methods to click, cancel, and enter text in dialog boxes