Fix modify trap dialog

Signed-off-by: nppangband <nppangbanddev@verizon.net>