Fixed controller setMessage can't be closed.