Making elevation dialog work with the new Graph