create sale modals and search by query layout