Don't trigger error message when navigating away during AJAX call

fixes #75
Don't test for specific DB-assigned IDs