UI tests for modal