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

Also make sure the add budget dialogs appear ontop of the budget versions dialog.