           $("#warningMessageWrap").css('display', "block")
 
   $("#" + answer_no).on "click", ->
-      $("#warningMessageWrap").slideUp()+      $("#warningMessageWrap").slideUp()

                        $("label[for='answer']").text(data.answer)
                        enable()

                        $(".breaks-prompt").slideUp()

                        element = undefined

                        if tbody.children().length is 1
                            element = $("#breaks")
                        else
                            element = tr.children("td")

                        element.animate(
                            padding: 0
                            margin: 0
                        ).wrapInner("<div />").children().slideUp -> tr.remove()

                    error: ->
                        enable()

                        $(".breaks-prompt").slideUp()
                        alert "Failed to delete break - Contact Support"

enable = ->
    $("tr input[type='button']").removeAttr("disabled").removeClass("disabled")
    $("input[type='radio']").removeAttr("disabled", "true").removeClass("disabled")
    $(".form-steps").children().removeAttr("disabled").removeClass("disabled")

disable = ->
    $("tr input[type='button']").attr("disabled", "true").addClass("disabled")


    $("tbody").on "click", "input[value='Delete']", ->
        disable()
        enableConfirmation()

        tr = $(this).closest("tr")

        $("#breaks .breaks-prompt").slideDown ->
            $("input[value='No']").unbind "click"
            $("input[value='Yes']").unbind "click"

            $("input[value='No']").on "click", ->
                enable()
                $("#breaks .breaks-prompt").slideUp()

            $("input[value='Yes']").on "click", ->
                disableConfirmation()

                $.ajax
                    type: "DELETE"
                    url: "/care-you-provide/breaks-in-care/" + tr.attr("id")
