added brackets version
re-added a waitfor dialog to disappear otherwise spinner isn't visible yet