Don't render wrong 'add light device' dialog after lights.html is loaded.