A search on google resulted in creating a file in your HOME directory, called .motifbind. In that file simply add the line
"osfCancel :
Escape"
And the warnings disappear