fix binding issue, encapsulate message box in container