fix unlock dialog, cleanup