Add RTL support for edit buttons