Width adjustment on popup edit