Show loading indicator when opening a shared query

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