Loading class is not removed if no url is provided on the Post page

Hi there,

first pull request here, not sure if I'm doing it properly :)

This is a small fix for a bug I found on the Submit Post page, if no URL is provided and you click on the Suggest Title link, an alert shows up but once you close the alert the loading class is still there.

If I did something wrong, please let me know.

Ever daniel