Enable/disable form buttons on action