Floating regions can not be deleted.

Floating regions can not be deleted on click on the close button. In console, it throws following error.

Uncaught TypeError: Cannot read property ‘remove’ of undefined

on_modal_close @ main.js:55

on_delete_click @ main.js:55