$('#resource-area .close-overlay').on('click.onCloseCheck', function (e) {
        e.stopImmediatePropagation()
        e.preventDefault()
        // Basically, do the same thing as the save button in this case.
        $('#resource-area .save-button').trigger('click')