Admin area project delete doesn't work when project list is filtered

Summary

The admin area project delete button doesn't work when project list is filtered by name. Rather than presenting the modal dialog where the user is prompted to type the name of the project and confirm deletion, the user is presented with a grey screen and must use the browser back button to recover.

Steps to reproduce

  1. Log in as an Administrator
  2. Open the admin area
  3. Open the projects list
  4. Filter the list by typing a few characters in the "Filter by name" box
  5. Click the red delete button next to one of the projects

Example Project

I can reproduce in a self-managed omnibus demo environment. Let me know if you require a login.

What is the current bug behavior?

Grey screen but no modal dialog.

What is the expected correct behavior?

A modal dialog is presented asking the user to type the project name and confirm deletion.

Relevant logs and/or screenshots

If nothing has been typed in the filter box, delete works okay: image

If you type anything in the filter box, delete doesn't work properly: image

Results of GitLab environment info

Expand for output related to GitLab environment info
Components
GitLab 13.2.6-ee (e231b6a0b09)
GitLab Shell 13.3.0
GitLab Workhorse v8.37.0
GitLab APIv4
Ruby 2.6.6p146
Rails 6.0.3.1
PostgreSQL 11.7

Edited by 🤖 GitLab Bot 🤖