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

This reverts commit 873ee3848a8bdfc26eb340a65a92b06aa2bd3306.