fixes #110

change how context is referenced in progress dialog
fixes #104

duplicate location profiles with the same url are no longer able to
saved to the database