Update dialog.py

Deleted call to cb-lock