Version 2.52 (and earlier?) not calling cpanel close handler

@amg0 I’m not getting cpanel close callbacks in the device control panels. I’m not sure if that’s new to 2.52 or happened sometime earlier. I’m going to go back and retest that…