Add a close button to the tablet tester.
(cherry picked from commit c36535672f75fface40ac799e7f2dcc402e90654)