Error messages disappear before taking screenshot

I sometimes error messages disappear before I can take a screenshot. If we want to get feedback from users, then we should not have self-disappearing alerts. I just had this problem on the “add-data-source” page where I got a “Gateway something” error while trying to add a github org.

UPDATE: Also filed on the Issue Tracker