Fixed bug in showNoLocationDialog