DocumentManager: Ensure that checkForReload is called after modal dialog
DocumentManager: Ensure that checkForReload is called after modal dialog

Task-number: QTCREATORBUG-11727

Change-Id: Ia20b4556206571f5605f4133521c146ad164426a
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>

martyone/sailfish-qtcreator,danimo/qt-creator,kuba1/qtcreator,farseerri/git_code,maui-packages/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,danimo/qt-creator,omniacreator/qtcreator,xianian/qt-creator,xianian/qt-creator,colede/qtcreator,Distrotech/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,xianian/qt-creator,farseerri/git_code,xianian/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,colede/qtcreator,xianian/qt-creator,danimo/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,farseerri/git_code,colede/qtcreator,maui-packages/qt-creator,xianian/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,danimo/qt-creator,farseerri/git_code,omniacreator/qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,kuba1/qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,farseerri/git_code,farseerri/git_code,amyvmiwei/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,omniacreator/qtcreator,omniacreator/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,farseerri/git_code,farseerri/git_code,Distrotech/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,martyone/sailfish-qtcreator,colede/qtcreator,xianian/qt-creator,Distrotech/qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator