warn user about clearing all frames

This prevents the user from accidentally clearing all the frames by
asking the user to confirm their intention.