B4XDialog is implemented as a regular panel. The background panel intercepts the touch events which usually is enough to prevent the user from interacting with the underlying interface.
In the case of a hardware keyboard, the user will be able to navigate with the keyboard. If it is a real issue for you then disable the EditText controls before showing the dialog.