I rewrote that class completely: https://git.proxmox.com/?p=pve-manager.git;a=blob;f=www/manager6/window/SafeDestroy.js;h=925e5d53db76837f33d2709baca0294463c370b6;hb=HEAD - use the class config system - use a View Model - use a View Controller - add a nice icon