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

            'django-cradmin-floating-fullsize-iframe-bodycontentwrapper')
          djangoCradminModelChoiceFieldCoordinator.addBodyContentWrapperClass(
            'django-cradmin-floating-fullsize-iframe-bodycontentwrapper-push')

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

          djangoCradminModelChoiceFieldCoordinator.removeBodyContentWrapperClass(
            'django-cradmin-floating-fullsize-iframe-bodycontentwrapper-push')
          djangoCradminModelChoiceFieldCoordinator.enableBodyScrolling()
          $scope.iframeScope.onHide()
          djangoCradminWindowDimensions.unregister $scope

        @closeIframe = ->
          $scope.hide()
