Fixed the name too long issue
Merge pull request #880 from kbidarkar/fix-sam-displayui-save

Fix sam  save or cancel