change from application command to window command