Make child overlay hide the parent forcefully

So that when clicking "What does this mean?" in photo upload preview
doesn't ask the user if they want to cancel the upload.

Add JSHint configuration change so that unused parameters are okay -
describing the interface is more important here.

Change-Id: Ieb75812bb9f1eb603a6e66aa09469feb97b27a5c