Good night,
This is not working. Now, it only adds a blank row underneath, even if I enter any other number than 1. The cancel button now works though. The earlier scripts works except for that it changes the last row to whatever row you click on and it adds the row to the bottom. See below snips....