Clicking "cancel" on the "Are you sure you want to delete your license?" prompt deletes the license anyway

Summary

Gitlab 11.10

Box prompt asking "are you sure you want to delete this license?" does not actually cancel when you click cancel. It deletes the license anyway.

Steps to reproduce

Go to instance license management -> manage license -> delete license. Click "Cancel" on the dialog prompt that appears. License is deleted anyway.

What is the current bug behavior?

It deletes the license when you click cancel

What is the expected correct behavior?

You click cancel and it does not delete the license