If selection already made skip dialog and execute script.