Confirmation dialog before clearing log

I've added a confirmation dialog on the Clear Log button. This is to prevent the button from being pressed accidentally.