Error message not getting close after sometime

When adding a group, if error occurred, then that error is not getting close after sometime, which should, until and unless user closes it manually.