Revert "GlobalActions: Fix possible race condition when showing dialog."

This reverts commit fe6a96846a0e67059f4c61dd32bde444636b018f.