alert when nothing selected for delete and refresh model