Show loading indicator when opening a shared query

Fix #695.

Signed-off-by: Don Naegely <naegelyd@gmail.com>