Add methods for clearing and setting UI error states. Disable apply button if there are errors in the tab.