Bug 977276 - Hide dialog-overlay when screen is locked.