Dialog renders error message if trying to insert message <6 chars.
Doesn't regonize empty fields and also cancel gives error message..