Add more features to the messageUtil factory to accept JSON message and return beautiful console log.
Add function to send message from the dialog using messageUtil from common.js.