DF# QCADOOMES-1967 added hook to enable/disable buttons