added warning for user that the current selection is discarded