Fixed 2 bugs: Cancelling of weight prioritization and enabling of save changes button after changing a grid name
Disabling the tabs if the grid is invalid and unsaved