Added confirm remove viewport
Added finished load to the global scope.