Fix some problems with the URL open modal system
Add a NPE check
Remove some "$" on the name