fixes #2125 - the warning is now displayed with a disabled button