instead of an inline FileButton, just use an unattached input element to trigger the select file dialog.