For hide of actions when unsaved traits are available

GCP-9702

Code review : Daniel Jao