Disable mediaimagepath dialog while scanning files and enable after