Persist duration change dialog state on rotate. Closes #297.