Prevent duplicate input widgets for document(s)