 
       {if toolProps.selected and toolProps.details? and toolProps.details.length isnt 0
         tasks = require '../tasks'
-        <StickyModalForm ref="detailsForm" underlayStyle={NON_MODAL_STYLE} onSubmit={@handleDetailsFormClose} onCancel={@handleDetailsFormClose}>
 
         detailsAreComplete = toolProps.details.every (detailTask, i) =>
           TaskComponent = tasks[detailTask.type]

          else
            true

          {for detailTask, i in toolProps.details
            detailTask._key ?= Math.random()
            TaskComponent = tasks[detailTask.type]

STROKE_WIDTH = 1.5
SELECTED_STROKE_WIDTH = 2.5

SEMI_MODAL_FORM_STYLE =
  pointerEvents: 'all'

SEMI_MODAL_UNDERLAY_STYLE =
  pointerEvents: 'none'
  backgroundColor: 'rgba(0, 0, 0, 0.3)'

module.exports = React.createClass
  displayName: 'DrawingToolRoot'
