WP-3484: Properly track HTML IDs in order to work around the form under the modal.