How to limit form submissions in the new dialogue box?