Close #257. Added new methods to display error, warning of info modals.