Text this: Capital controls and trade liberalization in a monetary economy