listeners are working with CustomDialog class in Common class