Made "add to dashboard" option actually work and now focussing on input when overlay is created