The reported behavior, where the module download continues until the user confirms the cancellation in the pop-up modal, is the intended functionality. The "X" button is designed to trigger the confirmation dialog, not to immediately halt the download process. This prevents accidental cancellation of an ongoing installation.