Add wait dialog

Add wait dialog, option dialog;
delete not used files.