Fixes #87743 by getting the url in a variable before calling an event handler, and using that in the method that saves the store. Also, validation erros shown when first showing the dialog (wrongly displayed as the user has not even entered something wrong) are no longer displayed.
Merge pull request #239 from luisromangz/87743-URLMissingWhenSavingALayerStore

Fixes #87743 by getting the url in a variable before calling an event ha...