[IMP]Improved code for popup warning message,added template,set height auto for graph issue.