fixes #5332 remove all event listeners on the drawer before adding the new one

otherwise on every subtable click the event listener will be added again and again resulting in executing multiple times. If the event listener is added twice the drawer will quickly open and close again. Fixed a similar bug recently and there might be more such issues in dataTable.js ...