[composer] Fix setting atlas filename pattern from expression dialog (fix #10628)