trigger event on inline widget close