change(ev) {
								const modal = dom.parent(ev.target, '.modal');
								const body = modal.querySelector('p');
								const upload = modal.querySelector('.cbi-button-action.important');
								const file = ev.currentTarget.files[0];

								if (file == null)
									return;

								dom.content(body, [
									E('ul', {}, [
										E('li', {}, [ '%s: %s'.format(_('Name'), file.name.replace(/^.*[\\\/]/, '')) ]),
										E('li', {}, [ '%s: %1024mB'.format(_('Size'), file.size) ])
									])
								]);

								upload.disabled = false;
								upload.focus();
							}
Display a modal file upload prompt.

This function opens a modal dialog prompting the user to select and
upload a file to a predefined remote destination path.

@param {string} path
The remote file path to upload the local file to.

@param {Node} [progressStatusNode]
An optional DOM text node whose content text is set to the progress
percentage value during file upload.

@returns {Promise<LuCI.ui.FileUploadReply>}
Returns a promise resolving to a file upload status object on success
or rejecting with an error in case the upload failed or has been
cancelled by the user.