when deleted, flash notice appears so user can confirm deletion