           @_setField(fieldWrapperScope.fieldScope)
           @_setPreviewElement(fieldWrapperScope.previewElementScope)
           $scope.iframeScope.beforeShowingIframe(fieldWrapperScope.iframeSrc)
-          djangoCradminWindowDimensions.register $scope
           $scope.show()
 
         @onIframeLoadBegin = ->

            return
          $scope.fieldScope.setValue(data.value)
          $scope.previewElementScope.setPreviewHtml(data.preview)
          djangoCradminWindowDimensions.unregister $scope
          $scope.hide()
          $scope.iframeScope.afterFieldValueChange()


            'django-cradmin-floating-fullsize-iframe-bodycontentwrapper')
          djangoCradminModelChoiceFieldCoordinator.addBodyContentWrapperClass(
            'django-cradmin-floating-fullsize-iframe-bodycontentwrapper-push')
          djangoCradminWindowDimensions.register $scope

        $scope.hide = ->
          $scope.iframeWrapperElement.removeClass('django-cradmin-floating-fullsize-iframe-wrapper-show')
