Steps to reproduce:
1. Open the video editor
2. Remove the first 10 seconds of video
3. Press on "Publish"
The video editor should close after the user presses on publish
The video editor does not close after the user presses on publish
Workaround (if any):
The logic that determines whether the video editor should close after the request returns uses the variable $scope.video.workflow.
In case the default thumbnail changes because of the cutting, this variable is overwritten by the save request.
The solution is to use a separate variable to store the state of $scope.video.workflow before performing the save request.