If action function returns a value of true, the message window will be
closed.