Created dialogbox when doing tasks