Increase delay on closing 'Add new' button.

This should give browsers a chance to submit the form.

Fixes #376