close applications via dialog box