disabling buttons during long running actions