Create Bucket Modal won't close via JavaScript

When trying to close the modal after the bucket is created via JavaScript, the Backdrop is still present and can't be closed.

Additionally, if the class Modal is imported from bootstrap, the dropdown and the collapse component won't work anymore.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information