Added type (info, warning etc.) to modal dialog