grades needs to have inflater, and so on...
and when closing addTaskDialog to refresh state in fragment