Fixed add relationship modal dialog with jquery-modal-rails.