2 Wrong place for the update
source | link
1
source | link

Yes, you can achieve this with a UI extension. I haven't done this specific scenario, but this is similar to something that I have done, and that is to check the "Abort Publishing/Unpublishing on All Servers in Case of Error" option by default.

The trick is to create a UI extension without any additional Commands (the scenario which most of the examples out there represent) and have it applied to the appropriate "area".

The example below is for 2013sp1.

The extension config:

<?xml version="1.0"?>
<Configuration xmlns="http://www.sdltridion.com/2009/GUI/Configuration/Merge" 
    xmlns:cfg="http://www.sdltridion.com/2009/GUI/Configuration" 
    xmlns:ext="http://www.sdltridion.com/2009/GUI/extensions"  
    xmlns:cmenu="http://www.sdltridion.com/2009/GUI/extensions/ContextMenu">
    <resources cache="true">
        <cfg:extensiongroups>
            <cfg:extensiongroup name="PublishDialogSettings">
                <cfg:extension target="Tridion.Web.UI.Editors.CME.Views.Popups.Publish">         
                    <cfg:insertafter>MyCompany.PublishDialogSettings</cfg:insertafter>
                </cfg:extension>
            </cfg:extensiongroup>
        </cfg:extensiongroups>
        <cfg:groups>
            <cfg:group name="MyCompany.PublishDialogSettings">
                <cfg:fileset>
                    <cfg:file type="script">/Scripts/jquery.js</cfg:file>
                    <cfg:file type="script">/Scripts/PublishDialogSettings.js</cfg:file>
                </cfg:fileset>
            </cfg:group>
        </cfg:groups>
    </resources>
    <definitionfiles/>
    <extensions>
        <ext:editorextensions>
            <ext:editorextension target="CME">
                <ext:editurls />
                <ext:listdefinitions />
                <ext:taskbars />
                <ext:commands />
                <ext:commandextensions />
                <ext:contextmenus />
                <ext:lists />
                <ext:tabpages />
                <ext:toolbars />
                <ext:ribbontoolbars/>
            </ext:editorextension>
        </ext:editorextensions>
        <ext:dataextenders />
    </extensions>
    <commands />
    <contextmenus/>
    <localization/>
    <settings>
        <defaultpage/>
        <navigatorurl/>
        <editurls/>
        <listdefinitions/>
        <itemicons/>
        <theme>
            <path />
        </theme>
        <resourceextensions>
            <resourceextension>PublishDialogSettings</resourceextension>
        </resourceextensions>
        <customconfiguration/>
    </settings>
</Configuration>

The "Command" (PublishDialogSettings.js):

$evt.addEventHandler($display, "start", onDisplayStarted);

function onDisplayStarted() {
    $evt.removeEventHandler($display, "start", onDisplayStarted);

    $j("#abortOnError").prop("checked", true);
}