Confirm before stopping a process

Automatically asks for confirmation before stopping a process, such as a compilation.