Can anyone point me to the location of the code that controls the file attachment screen that is triggered by the attach button (shown below)? I am trying to make the checkbox default to Private instead of Public.

Can anyone point me to the location of the code that controls the file attachment screen that is triggered by the attach button (shown below)? I am trying to make the checkbox default to Private instead of Public.

Check upload.js
/frappe/public/js/frappe/upload.js