If the file open fails, don't show open and diagnostic dialogs at once

Also minor change in the warning color which is dark yellow now for
better usability.