CLOUD-216 use one function for registering panels event listeners