When pressing ALT+2 on an input cell that has no associated output, a popup correctly appears warning that there is no output cell. However, after this popup is displayed, keyboard input becomes completely unresponsive in the notebook — I can no longer type in any cell.
The only workaround is to restart the kernel.