For Ctrl + Q, you need to see the following link (ID 1367967.1) for key mapping. When user action with this keys, it will automatically call browser closing logic as mention in step 1. No further action required.