initial implementation of popup form