KRACOEUS-8252 : Save the current doc before creating new budgets

Also make sure the add budget dialogs appear ontop of the budget versions dialog.
Merge pull request #1231 from blackcathacker/budget_versions_save

KRACOEUS-8252 : Save the current doc before creating new budgets