added leg module dialog.