'Wait for validation response from the server, and make sure that
the validation error modal pops up.
This method should only be called when it is guaranteed that there\'re
validation errors in the settings changes.'

def wait_for_modal_load(self):

    self.wait_for_ajax()
    self.wait_for_element_presence(MODAL_SELECTOR, 'Validation    Modal    is    present')
