Pjax inserts the response HTML into the container, it doesn't replace it. So any subsequent pjax requests duplicate the container.
Attach a file by drag & drop or click to upload