refactored e2e tests for modal to use more variables for protractor identifiers