In some of edit screens, I have to calculate some results based on data input and save them. I have provided one button for calculation and saving them.
However the results are invalid if user change data and just save it without calculating the results and in such case i want to mark the result dirty.