dialog and alerts added ----Stable needs ui work