menu work
auto select and focus palette input