Dismiss completion on "[" and modified input type completion