enable weight expression editor

Remove 'guiDialog.dispose();' so weight expression editor is usable.